package com.GDOU.bean;

import org.springframework.stereotype.Component;

public class TLeave {
    private Integer id;

    private Integer stuId;

    private Integer teaId;

    private String beginTime;

    private String endTime;

    private Integer dayNum;

    private Integer typeId;

    public TLeave(Integer id, Integer stuId, Integer teaId, String beginTime, String endTime, Integer dayNum, Integer typeId, Integer statuId) {
        this.id = id;
        this.stuId = stuId;
        this.teaId = teaId;
        this.beginTime = beginTime;
        this.endTime = endTime;
        this.dayNum = dayNum;
        this.typeId = typeId;
        this.statuId = statuId;
    }

    private Integer statuId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStuId() {
        return stuId;
    }

    public void setStuId(Integer stuId) {
        this.stuId = stuId;
    }

    public Integer getTeaId() {
        return teaId;
    }

    public void setTeaId(Integer teaId) {
        this.teaId = teaId;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime == null ? null : beginTime.trim();
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime == null ? null : endTime.trim();
    }

    public Integer getDayNum() {
        return dayNum;
    }

    public void setDayNum(Integer dayNum) {
        this.dayNum = dayNum;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getStatuId() {
        return statuId;
    }

    public void setStatuId(Integer statuId) {
        this.statuId = statuId;
    }
}
